package lab02.test17;

public class ArraySum {
    int arraySum;

    public int getArraySum(int[] array) {
        arraySum = 0;
        for(int i = 0; i < array.length; i++) {
            arraySum = arraySum + array[i];
        }
        return arraySum;
    }
}
